import logo from './logo.svg';
import Cart from './components_mobx/Cartm';
import { Route, Link } from "react-router-dom"
import routes from './router';
import { inject } from 'mobx-react';
import { Component } from 'react';

@inject('counter')
class App extends Component {
  render() {
    console.log('app', this.props);
    return (
      <div className="App">
        <header className="App-header">
          <Route path="/" component={Cart}></Route>
        </header>
      </div>
    );
  }
}


export default App;
